package com.zc.study.designPattern.结构型设计模式.flyweightPattern;

/**
 * 围棋棋子类:抽象享元类
 */
public abstract class IgoChessman {
    public abstract String getColor();

    public void display(){
        System.out.println("棋子颜色:"+this.getColor());
    }
}
